home *** CD-ROM | disk | FTP | other *** search
/ Shareware Grab Bag / Shareware Grab Bag.iso / 090 / byteibm.arc / HOGAN.ARC / LISTING5.TXT < prev    next >
Text File  |  1985-07-12  |  384b  |  7 lines

  1.           MOV   CX, 128        ; SEARCH 128 BYTES
  2.           MOV   AL, VALUE      ; VALUE TO BE FOUND
  3.           MOV   DI, OFFSET     ; START OF MEMORY TO SEARCH
  4.    REPNZ  SCASB                ; 15 clocks/repetition,
  5.                                ; plus 2 clocks per
  6.                                ; execution of prefix.
  7.